package com.s3.khospitalds.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.s3.khospitalds.common.ResponseEntity;
import com.s3.khospitalds.entity.TableShift;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: xw
 * @CreateTime: 2025/2/20
 * @Description: 护士轮班类
 * @Version: 1.0
 */
@Service
public interface TableShiftService extends IService<TableShift> {
    ResponseEntity selectAll(@Param("pageSize") int pageNum, @Param("pageSize") int pageSize, @Param("searchDepartment") String searchDepartment, @Param("searchName") String searchName, @Param("searchTimes") String searchTimes);
    public int insert(TableShift tableShift);
    public int update(TableShift tableShift);
    public int delete(int id);
}
